import axios from '@/api/fetch';
import SERVER from '@/api/server';
import { getCompanyId } from '@/assets/js/auth';

// 获取表格数据
export const getTestOrder = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/pickCar`, { params });

// 提交审核
export const examTestOrder = params => axios.post(`${SERVER.DMSCLOUD_REPAIR}/pickCar/examTestOrder`, params);

// 查询审核详情
export const getTestOrderDetails = roNo => axios.get(`${SERVER.DMSCLOUD_REPAIR}/pickCar/getTestOrderDetails/${roNo}`);
